import React, { Component } from 'react'
import request from '../util/request'

export default class Home extends Component {
    componentDidMount(){
        request.put('/api/update',{data:{username:'李晓丹',role_id:2},id:4}).then(res => {
            console.log(res);
        })
    }
    render() {
        return (
            <div>
                Home
            </div>
        )
    }
}
